﻿@model  ReleaseOrder
<div class="model-display">
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(s => s.CustomerName)</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.CustomerName)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(s => s.CustomerCode)</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.CustomerCode)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(s => s.OrderNum)</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.OrderNum)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(s => s.Amount)</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Amount)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(s => s.Percent)</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Percent)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(s => s.Status)</div>
        <div class="display-field">
            @if (Model != null)
            {
                @BindDropDownList.ApprovalName(Model.Status)
            }
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(s => s.ApplyMan)</div>
        <div class="display-field">
            @BindDropDownList.GetUserName(Model.ApplyMan)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(s => s.ApplyTime)</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.ApplyTime)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(s => s.Approver)</div>
        <div class="display-field">
            @BindDropDownList.GetUserName(Model.Approver)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(s => s.ApprovalTime)</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.ApprovalTime)
        </div>
    </div>
</div>
